import $http from '@/assets/js/http'

//这里是发布审核的相关js
/**
*type 1故事回忆，2话题，3学院，4协会，5媒体，6心情，7动态，8评测，9活动，10印厂，11展会
*/
//查询评论列表 
export function getCommentList(type,state,nickName,mobile,index,size) {
    return $http.get('/manage/comment/list', {
        params: {
            type:type,  
            state:state,
            nickName:nickName,
            mobile:mobile,
            pageIndex: index, 
            pageSize: size, 
        }
    });
}

//审核处理评论
export function postCommentState(id,state) {
    return $http.post('/manage/comment/check', {
        id:id,
        state:state,
    });
}



/**
 *  删除求购
 */
export function postcommenteDelete(ids) {
    return $http.post('/manage/comment/delete', {
        id:ids,
    });
}